package com.lxl.sever1.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: luoxianliang
 * @Email: 1322342586@qq.com
 * @CreateTime: 2025-08-14
 * @Description: 测试controller
 * @Version: 1.0
 * @OtherInfo:
 */
@RestController
public class HelloController {
    @GetMapping("/hello")
    public String hello(){
        String hello = "服务1";
        System.out.println("服务 = " + hello);
        return hello;
    }
}
